﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

    <title>특정 텍스트 검색</title>

    <style type="text/css">

        .redColor { color:Red; }

    </style>

    <script src="jquery-1.6.2.js" type="text/javascript"></script>

    <script type="text/javascript">

        $(document).ready(

            function() {

            	$("td:contains('RedPlus')").addClass("redcolor");
            	$("td:contains('Hawaso')").click(function(){
            		alert("Hawso");});

            }

        );

    </script>

</head>

<body>

    <table>

    <tr><td>RedPlus</td></tr>

    <tr><td>DotNetKorea</td></tr>

    <tr><td>Hawaso</td></tr>

    </table>

</body>

</html>

